﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.Common.Enumeration
{
    /// <summary>
    /// 设备类型
    /// </summary>
    public enum DeviceType
    {
        //[Description("RFID读写器")]
        //RFID = 1,
        //[Description("网络IO模块")]
        //NET_IO = 2,
        //[Description("LED显示屏")]
        //LED = 4,
        //[Description("网络音柱")]
        //VoiceTalk = 8,
        //[Description("串口服务器")]
        //ComService = 16,
        //[Description("地磅参数")]
        //Weight = 32,

        [Description("串口服务器")]
        ComService = 5,
        [Description("LED显示屏")]
        LED = 3,
        [Description("网络IO模块")]
        IO = 2,
        [Description("RFID读写器")]
        RFID = 1,
        [Description("网络音柱")]
        VoiceTalk = 4,
        [Description("仪表")]
        Meter = 5,
        [Description("网络抓拍")]
        Lpr = 6,
        [Description("电子储物柜")]
        ElectronicLockers = 7,
        [Description("门禁")]
        Access = 8,
        /// <summary>
        /// 非Lpr,专门存在于PUB_DEV_CAMERA表中 而不是PUB_DEVICE表，网络诊断需要区分2表，固设置为不同的枚举
        /// </summary>
        [Description("网络摄像头")]
        Camera = 9,

        [Description("简单网络IO模块")]
        IO_S = 10
    }
}
